package com.vehicle.domains.vo.res.sysUser;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.vehicle.domains.vo.res.sysPermission.SysPermissionRes;
import com.vehicle.domains.vo.res.sysRole.SysRoleRes;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class SysUserRes {
    private Long id;
    private String username;
    private String password;
    private String phone;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private String token;
    private List<SysRoleRes> roleResList;
    private List<SysPermissionRes> permissionResList;
}
